package com.woniu.mgr.exception;

public enum WebExceptionCode {

    USER_IS_NOT_EXISTS(1001, "用户不存在"),
    ORDER_IS_NOT_EXISTS(1002, "订单不存在")
    ;

    Integer code;
    String message;

    WebExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
